home *** CD-ROM | disk | FTP | other *** search
/ Macademic for Students & Teachers / Macademic for Students and Teachers (Quantum Leap)(1992).iso / Mathematics / PowerMath Demo / Help Folder / Custom Functions < prev    next >
Encoding:
Text File  |  1980-01-01  |  1.4 KB  |  31 lines  |  [TEXT/MACA]

  1. Custom Functions
  2.  
  3. Custom Functions are one line statements in the form:
  4.  
  5. Fun(x;y) = Expression including X and Y.
  6.  
  7. Where :
  8. "Fun" is the name of the Custom Function, "X" and "Y" are the Function arguments.  The Function "Expression" including these variables can be any expression.  It may include other Functions (Custom or Built-in) or variables other than those in the Function argument.
  9.  
  10. A typical reference to "Fun" is:
  11.  
  12. A=3+Fun(2;4)-B 
  13.  
  14. If Fun(x;y) is defined on a Function Slate as Fun(x;y) = x^2+y  then PowerMath substitutes 2 for x and 4 for y.  The expression on the Problem Slate becomes  A = 3+(2^2+4)-B
  15.  
  16. Custom Calculus Functions
  17.  
  18. A very important feature is the ability to define Calculus Functions.     
  19. PowerMath recognizes custom-built Differential and Integral Functions.  A typical custom-built Differential Function is:
  20.  
  21. ∂(COS(U);X) = SIN(U)*∂(U;X)
  22.  
  23. This feature allows virtually open ended Calculus operations. When defining custom integrals, be sure that the derivative is also defined because PowerMath used the derivative to determine if it can Integrate an expression.
  24.  
  25. Test your Custom Functions before using them in a problem. Be sure that your Canonical Function arguments on the Function Slate  "matchup" with references from the Problem Slate.
  26.  
  27. Be particularly careful that you employ correct Calculus rules when creating Custom Calculus Functions.  PowerMath is not guaranteed to handle every Integral.
  28.  
  29.  
  30.  
  31.